package com.houseman.workFlow.utils;

import java.util.List;

import com.google.gson.Gson;
import com.houseman.workFlow.bean.WorkFlowFolder;

/**
 * 文件夹相关操作
 */
public class FolderToJson {

	Gson gson = new Gson();
	
	/**
	 * 文件夹转json字符串
	 * @return
	 */
	public String folderToJson(List<WorkFlowFolder> files) {
		
		return gson.toJson(files);
	}
}
